export const isLogin = () => !!localStorage.getItem('token')
export const getToken = () => localStorage.getItem('token')
export const removeUserInfo = () => {
  localStorage.removeItem('token'),
    localStorage.removeItem('userInfo')
}
